{% extends 'news/base.html' %}

{% block titleBlock %}
首页-新经资讯
{% endblock %}

{% block scriptBlock %}
<script type="text/javascript" src="../../static/news/js/index.js"></script>
{% endblock %}

{% block headerBlock %}
<ul class="menu fl">
    {% for item in data.item_list %}
    {% if loop.index == 1 %}
        <li class="active" data-cid="{{ loop.index }}"><a href="javascript:;">{{ item.name }}</a></li>
    {% else %}
        <li data-cid="{{ loop.index }}"><a href="javascript:;">{{ item.name }}</a></li>
    {% endif %}
    {% endfor %}
</ul>
{% endblock %}

{% block contentBlock %}
<ul class="list_con fl">
</ul>
{% endblock %}
